package cn.merlin.middleware.dynamic.thread.pool.sdk.registry;

import cn.merlin.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
 * @author Merlin
 * @version 1.0
 * @email 756151581@qq.com
 * @desc Redis注册中心
 * @date 2025/1/22 18:22
 */
public interface IRegistry {

    /**
     * 上报线程池信息
     * @param threadPoolEntities
     */
    void reportThreadPool(List<ThreadPoolConfigEntity> threadPoolEntities);

    /**
     * 上报线程池配置参数
     * @param threadPoolConfigEntity
     */
    void reportThreadPoolConfigParameter(ThreadPoolConfigEntity threadPoolConfigEntity);
}
